import { ClientMain } from "./ClientMain";

let config3D = new Config3D();
config3D.octreeCulling = false;
config3D.enableMultiLight = false;
config3D.isAntialias = true;

Laya3D.init(1920, 1080, config3D, Laya.Handler.create(null, () => {
    Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;
    Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE;
    Laya.stage.alignH = Laya.Stage.ALIGN_CENTER;

    //兼容微信不支持加载scene后缀场景
    Laya.URL.exportSceneToJson = true;

    Laya.alertGlobalError(false);

    new ClientMain();
}));
